package designs.observes.fan.impl;

import designs.observes.fan.Fan;

/*
* 具体的粉丝
* */
public class FanImpl implements Fan {
    //粉丝名
    private String fanName;

    public FanImpl() {
    }

    public FanImpl(String fanName) {
        this.fanName = fanName;
    }


    public void update(String message) {
        System.out.println(fanName+"知道了"+message+"这条消息");
    }

}
